package com.yc.fedex.exceptions;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class FedexError {

    private String code;

    private String message;

    private List<FedexParameter> parameterList;

    public FedexError(String code, String message) {
        this.code = code;
        this.message = message;
    }
}
